#pragma once

#include "stdio.h"
#include <fstream>
#include <iostream>
#include <iomanip>
#include "DBProvider\JLDBProvider.h"

using namespace std;

class CCombinatoricsRecursive
{
public:
	int m_nCombinationRecordCount;

public:
	CCombinatoricsRecursive(void);
	~CCombinatoricsRecursive(void);

	static int CalculateCombination( int a[],int n,int r,int order[],const int R,ofstream &out, CJLDBProvider* pJLDBProvider = NULL);

	int GetCombinationRecordCount() { return m_nCombinationRecordCount; }
	void SetCombinationRecordCount(int val) { m_nCombinationRecordCount = val; }

private:
	//CJLDBProvider* m_pJLDBProvider;

};

